An Aspect-Aware Outline Viewer

نویسندگان

  • Michihiro Horie
  • Shigeru Chiba
چکیده

An aspect-oriented programming (AOP) is for modularising a crosscutting concern so that it can be easily attached and detached to/from software. Because of this functionality, AOP is one of key technologies for enabling evolvable software. However, critics have been mentioning that AOP makes modular reasoning difficult since join points where an aspect and an object are connected to each other tend to spread over a whole program. Developers often have a problem finding join points specified by pointcut definitions in an aspect. To help developers, a tool such as AJDT has been developed. For better modular reasoning in AOP, this paper presents a new interpretation of AOP, in which an aspect is an extension to an existing module but the extension may be effective only when the module is accessed from specific accessor modules. This interpretation should let developers consider an aspect is just an extension in the same sense that a subclass extends a super class and override some methods. Thus developers would be able to think that each module has an external interface and the internal implementation of the module is never directly accessed by other modules including an aspect. To support AOP according to this interpretation, we have developed an Eclipse plugin. It is a programming tool for AspectJ and it shows an outline view of a class woven with an aspect. It presents how each method is extended by showing javadoc comments taken from the definitions of the class and the aspect. This tool gives developers a totally different illustration of AOP programs from AJDT, which is a standard programming tool for AspectJ. AJDT mainly shows the locations of join points (or join point shadows) selected by pointcuts. In other words, it only illustrates where an aspect and an object is connected to each other.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Fast 3-D Object Recognition using Feature Based Aspect-Trees

Olaf Munkelt, Christoph Zierl Technische Universit at M unchen Institut f ur Informatik { Prof. Dr. B. Radig, 80290 M unchen, Germany fmunkelt,[email protected] Abstract This contribution focuses on the recognition of a priori known 3-D objects in single 2-D images. The underlying model is embedded in the domain of CADbased vision using a viewer-centered approach to generate ...

متن کامل

AspectScope: An Outline Viewer for AspectJ Programs

This paper presents the AspectScope tool for AspectJ. It displays how aspects affect the existing module interfaces in the program. Because an aspect is not explicitly invoked, some developers claim that it is difficult to understand the behavior of their code within local reasoning. Although this difficulty should be mitigated by appropriate tool support, the support by current tools such as A...

متن کامل

Handbook of Pattern Recognition and Computer Vision, Pp. 863{882 Viewer-centered Representations in Object Recognition: a Computational Approach

Visual object recognition is a process in which representations of objects are used to identify those objects in images. Recent psychophysical and physiological studies indicate that the visual system uses viewer-centered representations. In this chapter a recognition scheme that uses viewer-centered representations is presented. The scheme requires storing only a small number of views to repre...

متن کامل

Pii: S0004-3702(01)00055-8

The aspect graph (AG) has been proposed as a viewer-centered tool for object recognition. Although the aspects could be used for recognition from one image,the full information stored in the AG (aspects and visual events) suggests a multiple views, possibly active, approach. The topological nature of the AG also suggests a topological match of images of the unknown object and stored aspects. In...

متن کامل

Combining Multiple Views and Temporal Associations for 3-D object Recognition

This article describes an architecture for the recognition of three-dimensional objects on the basis of viewer centred representations and temporal associations. Considering evidence from psychophysics, neurophysiology, as well as computer science we have decided to use a viewer centred approach for the representation of three-dimensional objects. Even though this concept quite naturally sugges...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006